[LINUX] Fix native build.
authorIan Campbell <ian.campbell@xensource.com>
Mon, 22 Jan 2007 15:31:27 +0000 (15:31 +0000)
committerIan Campbell <ian.campbell@xensource.com>
Mon, 22 Jan 2007 15:31:27 +0000 (15:31 +0000)
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
linux-2.6-xen-sparse/kernel/timer.c

index 192df560175527b7f94e73c98f9b71b81ae4fe92..7e19b0122c734f8e090c57dc70e6dd1df45e8f71 100644 (file)
@@ -851,7 +851,7 @@ void getnstimeofday(struct timespec *ts)
 
 EXPORT_SYMBOL(getnstimeofday);
 
-#if 0
+#ifndef CONFIG_XEN
 /**
  * do_gettimeofday - Returns the time of day in a timeval
  * @tv:                pointer to the timeval to be set